//
//  GrammarExplain.m
//  Grammar
//
//  Created by Rick on 7/11/13.
//
//

#import "GrammarExplain.h"

@implementation GrammarExplain

- (id)init
{
    self = [super init];
    if (self) {
        self.imageArray = [NSMutableArray array];
    }
    return self;
}

- (NSDictionary*)attributeMapDictionary
{
    return @{ @"explainId": @"explainId"
             ,@"grammarId": @"grammarId"
             ,@"title": @"title"
             ,@"content": @"content"
             ,@"createTimeStamp": @"createTime"
             ,@"lastUpdateTimeStamp": @"lastUpdateTime"
             ,@"version": @"version"
             ,@"lastOperate": @"lastOperate"
             ,@"imageArray": @"images"};
}

- (void)dealloc
{
    [_explainId release];
    [_grammarId release];
    [_title release];
    [_content release];
    [_createTimeStamp release];
    [_lastUpdateTimeStamp release];
    [_version release];
    [_lastOperate release];
    [_imageArray release];
    [super dealloc];
}
@end
